﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MediatR;
using Traceability.Register.ErrorCode.Result;

namespace Traceability.Register.Application.Commonds.TraceabilityManagementCommonds
{
    /// <summary>
    /// 修改请求命令
    /// </summary>
    public class UpdateQRCodeRequestCommond:IRequest<ApiResult>
    {
        /// <summary>
        /// 溯源编号
        /// </summary>
        public int TraceabilityId { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public int GoodId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; } = string.Empty;
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int ExprirationDate { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary> 
        public string ProductionLicense { get; set; } = string.Empty;
        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductionEnterprise { get; set; } = string.Empty;
        /// <summary>
        /// 封面图
        /// </summary>
        public string GoverImarger { get; set; } = string.Empty;
    }
}
